package com.training.schedule_management_system_admin.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Scheduleframework {
    private Integer id;

    private String name;

    private String organization;

    private Integer shareState;

    private String shareId;

    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date createTime;

    private Integer userId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    private Integer draftState;

    private Integer publishState;

    private List<Scheduleterm> scheduleterms;

    private List<Scheduletable> scheduletables;


}